package com.travel.manager.service;

import com.github.pagehelper.PageInfo;
import common.pojo.City;

import java.util.List;

public interface CityService {
    //添加城市
    void addCity(City city);

    //修改城市
    void updateCity(City city);

    //根据条件查询城市列表，带分页
    PageInfo<City> getCityList(City criteria, Integer pageNum, Integer pageSize);

    List<City> getAllCityList();

}
